<template>
	<view class="beijingse mainpadding">
		<header-top :messageInfo="{typeFlag:true,message:'提现详情',liner:false}"></header-top>
		<view class="xiahuax">
			<view class="jinbi"></view>
			<view class="notitletext textcenter">提现-到支付宝</view>
			<view class="margin_top2 vbigtext textcenter">{{allxq.price}}</view>
		</view>
		<view class="flexleft xiahuax margin_top">
			<view class="huisetext margin_right4">当前状态</view>
			<view class="">
				<view class="flextops">
					<view class="dingwei">
						<view class="xuxian margin_right4"></view>
						<view class="yuandian"></view>
					</view>
					<view class="">
						<view class="huisetext">发起提现</view>
						<view class="huisetext">{{allxq.createtime_text}}</view>
					</view>
				</view>
				<view class="flextops">
					<view class="dingwei">
						<view class="xuxian margin_right4"></view>
						<view class="yuandian"></view>
					</view>
					<view class="huisetext">{{allxq.status_text}}</view>
				</view>
				<view class="flextops">
					<view class="duihao"></view>
					<view class="">
						<view class="nostrongtext">到账</view>
						<view class="huisetext">{{allxq.cl_time_text}}</view>
					</view>
				</view>
			</view>
		</view>
		<view class="block3">
			<view class="flexleft margin_top">
				<view class="huisetext minwith">提现金额</view>
				<view class="heisetext">{{allxq.withdrawal_price}}</view>
			</view>
			<view class="flexleft margin_top">
				<view class="huisetext minwith">服务费</view>
				<view class="heisetext">{{allxq.s_price}}</view>
			</view>
			<view class="flexleft margin_top">
				<view class="huisetext minwith">申请时间</view>
				<view class="heisetext">{{allxq.createtime_text}}</view>
			</view>
			<view class="flexleft margin_top">
				<view class="huisetext minwith">到账时间</view>
				<view class="heisetext">{{allxq.cl_time_text}}</view>
			</view>
			<view class="flexleft margin_top">
				<view class="huisetext minwith">提现方式</view>
				<view class="heisetext">{{allxq.type_text}}</view>
			</view>
			<view class="flexleft margin_top">
				<view class="huisetext minwith">提现单号</view>
				<view class="heisetext">{{allxq.out_biz_no}}</view>
			</view>
		</view>
	</view>
</template>

<script>
	const httpRequest = require("@/common/httpRequest.js")
	export default {
		data() {
			return {
				txjlid: "", //提现详情id
				allxq:{}
			}
		},
		onLoad(options) {
			this.txjlid = options.id;
		},
		onShow() {
			this.tixxq()
		},
		methods: {
			tixxq() {
				httpRequest.request('api/user/getWithdrawalDetail', 'POST', {
					// 传参
					id: this.txjlid
				}, false, false, true).then(res => {
					if (res.code == 1) {
						console.log(res, 555)
						this.allxq = res.data
					}
				})
			},
		}
	}
</script>

<style lang="scss" scoped>
	.minwith {
		min-width: 160rpx;
	}

	.heisetext {
		font-size: 28rpx;
		font-family: PingFang SC-Medium, PingFang SC;
		font-weight: 500;
		color: #000000;
	}

	.duihao {
		position: relative;
		right: 24rpx;
		width: 50rpx;
		height: 50rpx;
		background-size: 100% 100%;
		background-image: url('../../static/image/system/daozhang.png');
	}

	.yuandian {
		position: absolute;
		top: 0;
		left: -4rpx;
		width: 14rpx;
		height: 14rpx;
		border-radius: 50%;
		background: #54C467;
	}

	.xuxian {
		width: 0rpx;
		height: 106rpx;
		opacity: 1;
		border: 1rpx dashed #54C467;
	}

	.huisetext {
		font-size: 28rpx;
		font-family: PingFang SC-Medium, PingFang SC;
		font-weight: 500;
		color: #999999;
	}

	.xiahuax {
		padding-bottom: 40rpx;
		border-bottom: 2rpx solid rgba(0, 0, 0, 0.05);
	}

	.vbigtext {
		font-size: 48rpx;
		font-family: DIN Next LT Pro-Bold, DIN Next LT Pro;
		font-weight: bold;
		color: #333333;
	}

	.jinbi {
		margin: auto;
		width: 214rpx;
		height: 120rpx;
		background-size: 100% 100%;
		background-image: url('../../static/image/system/jinbi.png');
	}
</style>
